package com.qianniu.napi.admin.mapper;

import com.qianniu.napi.admin.entity.Store;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
  * 实体店商家地址，需要满足实体营业执照+店面+独立小程序 Mapper 接口
 * </p>
 *
 * @author chenxuebin
 * @since 2018-10-16
 */
public interface StoreMapper extends BaseMapper<Store> {

    public List<Store> selectNearbyStores(Map map);

    public List<Store> selectHYStores(Map map);

    public List<Store> selectNearbyHYStores(Map map);

    public Integer selectNearbyHYStoresCount(Map map);

    public List<Store> selectLmStores(Map map);

    public Store selectNearestStores(Map map);

    //获取附近美发店
    //做头士专用接口
    public List<Store> selectNearbyMFStores(Map map);

    //获取附近美发店
    //做头士专用接口
    public Integer selectNearbyMFStoresCount(Map map);

    public List<Store> getNearbyFavorStores(Map map);
}
